import * as mutation from '../mutations/mutation-types';
import api from '../../http/index'
import { purChaseAPI as purChaseApi } from '../../http/api'
export default {
  checkout({ commit, state, rootState }, params) {
    return api.allRequestGet(purChaseApi.stayInfo, params, data => {
      commit(mutation.INCREMENT, params);
    });
  }
};
